<div ng-include="'html/component/nav.html'" ng-controller="NavCtrl"></div>
<ul class="set_item" ng-include="'html/component/left_nav.html'" ng-controller="MyAccountCtrl"></ul>
<div class="set_box">
	<h1 class="set_title"><!--考勤上传-->{{language.TIPS_ATTENDANCE_UPLOAD}}<span class="title_btn_group"><span class="title_btn" ng-click="file_upload();"><!--上传-->{{language.TIPS_UPLOAD}}</span></span></h1>
	<div class="set_cont myaccount">
		<div class="attend_wrap">
			<div class="uploadbtn_box">
				<button class="uploadbtn" ng-model="file" ngf-select="file_select($file)">
					<!--选取考勤文件-->{{language.TIPS_SELECT_ATTENDANCE_FILE}}
				</button>
			</div>
			<div class="attend_file">
				<label><!--考勤数据年月-->{{language.TIPS_MONTHLY_ATTENDANCE_DATA}}：</label>
				<input class="date" type="date" ng-model="updata.date" />
				<!-- 控制器里面-->
				<span>{{language.TIPS_SELECTED_FILE}}：</span><span class="file_name">{{updata.file_name?updata.file_name:""}}</span><span class="reset" ng-click="reset_upload();"></span>
			</div>
			<!--已上传的数据-->
			<table class="list_table">
				<thead>
					<tr>
						<th><!--上传人-->{{language.TIPS_HEIR}}</th>
						<th><!--月份-->{{language.TIPS_MONTH}}</th>
						<th><!--上传时间-->{{language.TIPS_UPLOAD_DATE}}</th>
					</tr>
				</thead>
				<tbody >
					<tr class="list_unit" ng-repeat="i in list track by $index | orderBy:'date':true">
						<td>{{i.upload_person}}</td>
						<td>{{i.date|date:'yyyy-MM'}}</td>
						<td>{{i.up_time}}</td>
					</tr>
				</tbody>
			</table>
		</div>
	</div>
</div>
